package com.neuedu.weishi.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
import com.neuedu.weishi.entity.VideoViewRecord;


/**
* Author lu
* Date   2025-08-26 09:11:00
*/
public interface IVideoViewRecordService {

   /**
    * 条件查询,返回对象列表
    * @param videoViewRecord
    * @return
    */
    List<VideoViewRecord> selectList(VideoViewRecord videoViewRecord);
    
   /**
    * 分页查询
    *
    * @param page
    * @return
    */
    IPage<VideoViewRecord> selectPage(IPage<VideoViewRecord> page);
    
   /**
    * 根据ID查询返回一个对象
    *
    * @param viewRecordId
    * @return
    */
    VideoViewRecord selectById(Integer viewRecordId);
    
   /**
    * 根据ID删除
    *
    * @param viewRecordId
    * @return
    */
    int deleteById(Integer viewRecordId);
    
   /**
    * 根据条件删除
    *
    * @param videoViewRecord
    * @return
    */
    int delete(VideoViewRecord videoViewRecord);

   /**
    * 添加
    *
    * @param  videoViewRecord
    * @return
    */
    int insert(VideoViewRecord videoViewRecord);
    
   /**
    * 根据ID修改
    *
    * @param videoViewRecord
    * @return
    */
    int updateById(VideoViewRecord videoViewRecord);

   /**
    * 根据条件修改
    *
    * @param videoViewRecord
    * @return
    */
    int update(VideoViewRecord videoViewRecord);
}